<?php
/**
 * Svick a Fast Simple Smart PHP FrameWork
 * Author: Tommy 863758705@qq.com
 * Link: http://www.Svick.com/
 * Since: 2016
 */

namespace Svickorm;

class Install
{
    const WEBMAN_PLUGIN = true;

    /**
     * Install
     * @return void
     */
    public static function install()
    {
        $svickorm_file = config_path() . '/svickorm.php';
        if (!is_file($svickorm_file)) {
            copy(__DIR__ . '/config/svickorm.php', $svickorm_file);
        }
    }

    /**
     * Uninstall
     * @return void
     */
    public static function uninstall()
    {
        $svickorm_file = config_path() . '/svickorm.php';
        if (is_file($svickorm_file)) {
            unlink($svickorm_file);
        }
    }
}
